// The Vue build version to load with the `import` command
import Vue from 'vue';

import App from './App.vue';
import router from './router/router.js'
// 引入axios 
import request from "./api/request.js";
// 引入Vuex
import store from './store';
//引入elementui
import ElementUI from 'element-ui';
//样式文件需要单独引入
import 'element-ui/lib/theme-chalk/index.css';
//导人Jsonp
import { VueJsonp } from 'vue-jsonp' 
//导入瀑布流插件
import waterfall from 'vue-waterfall2'

// 将request挂载到Vue原型上
Vue.prototype.request = request
Vue.use(ElementUI);
Vue.use(router);
Vue.use(VueJsonp);
Vue.use(waterfall);
// 阻止显示生产模式的消息。
Vue.config.productionTip = false



new Vue({
    router,
    store,
    render: h => h(App),
}).$mount('#app')